﻿using WeDonekRpc.Modular;

namespace Base.FileService
{
    internal static class LinqHelper
    {
        public static long ToEmpId ( this IUserState state )
        {
            return state.GetValue<long>("UserId");
        }
        public static string ToUserType ( this IUserState state )
        {
            return state.GetValue<string>("UserType");
        }
    }
}
